{extend name="Master/base" /} {block name="title"}后台主页{/block} {block name="main"}
<!--三级菜单-->
{if condition="empty($child_menu_list)==false"}
<div class="collapse navbar-collapse pull-left " id="navbar-collapse" style="background-color: #ddd;
width: 100%; margin-bottom: 5px">
    <ul class="nav navbar-nav web_child_nav">
        {volist name="child_menu_list" id="c_menu"}
        <li class="{$c_menu['url']==$page_url ? 'active' : ''}"><a href="{:url($c_menu['url'])}">{$c_menu['title']} </a></li>
        {/volist}

    </ul>
</div>
{/if}
<section class="content-header">
    <h1>

    </h1>
</section>
<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box-tools">
                <div class="input-group input-group-sm" style="width: 150px;">
                    <a href="{:url('/index/project/team/add',['project_id'=>input('project_id')])}" class="btn btn-block btn-info">添加XXXX</a>
                </div>
            </div>

            <div class="box">

                <div class="box-header">
                    <h3 class="box-title">XXXX列表</h3>

                    <div class="box-tools">

                    </div>
                </div>
                <!-- /.box-header -->

                <div class="box-body table-responsive no-padding">
                    <table class="table table-hover">
                        <tbody>
                            <tr>
                                <th>标号</th>

                                <th>项目名称</th>

                                <th>成员名称</th>

                                <th>电话</th>

                                <th>邮箱</th>

                                <th>职责</th>



                                <th>操作</th>
                            </tr>
                            {volist name="data_list" id="vo" key="key"}
                            <tr>
                                <td>{$key}</td>
                                <td>{$vo.project['title']}</td>
                                <td>{$vo.user['nickname']}</td>
                                <td>{$vo.phone}</td>
                                <td>{$vo.email}</td>
                                <td>{$vo.duty}</td>



                                <td>
                                    <a href="javascript:;" data-url="{:url('/Index/Team/Index/del')}" param="{$vo.id}" class="label label-danger data_del_items">删除</a>

                                    <a href="{:url('/index/project/team/edit',['id'=>$vo.id,'project_id'=>input('project_id')])}" class="label label-info">编辑</a>

                                </td>
                            </tr>
                            {/volist}
                        </tbody>
                    </table>

                    <div class="col-sm-7">
                        {$page}

                    </div>
                </div </div>
            </div>
        </div>
</section>
{/block}